<?php
include_once ROOT .'/model/dao/AbstractDao.php';
class UserDao extends AbstractDao{
	/* (non-PHPdoc)
	 * @see AbstractDao::__construct()
	*/
	public function __construct() {
		parent::__construct('Registered_User');

	}

	public function getByEmail($email){
		return $this->findByField(array('email'=>$email));
	}
}